package com.umeox.watch.moto.apiclient.model;

/**
 * Created by Rambo 2020/5/19
 * Describe:
 */
public class RecordDTO {

    public String holderId;

    public String sosEventId;

    public String file;


    public static final class Builder {
        private String holderId;
        private String sosEventId;
        private String file;

        private Builder() {
        }

        public static Builder aRecordDTO() {
            return new Builder();
        }

        public Builder setHolderId(String holderId) {
            this.holderId = holderId;
            return this;
        }

        public Builder setSosEventId(String sosEventId) {
            this.sosEventId = sosEventId;
            return this;
        }

        public Builder setFile(String file) {
            this.file = file;
            return this;
        }


        public RecordDTO build() {
            RecordDTO recordDTO = new RecordDTO();
            recordDTO.holderId = this.holderId;
            recordDTO.sosEventId = this.sosEventId;
            recordDTO.file = this.file;
            return recordDTO;
        }
    }

    @Override
    public String toString() {
        return "RecordDTO{" +
                "holderId='" + holderId + '\'' +
                ", sosEventId='" + sosEventId + '\'' +
                ", file='" + file + '\'' +
                '}';
    }
}
